package view
{
	import flash.text.TextField;
	import flash.text.TextFormat;
	
	public class LabelText extends TextField
	{
		public function LabelText(x:int,y:int,width:int,height:int,content:String,color:int=0xFFFFFF,size:int = 12,bold:Boolean=false)
		{
			this.x = x;
			this.y = y;
			this.width = width;
			this.height = height;
			
			
			var tf:TextFormat = new TextFormat();
			tf.color = color;
			tf.size = size;
			tf.bold = bold;
			this.defaultTextFormat = tf;
			
			this.mouseEnabled = false;
			
			this.text = content;
		}
	}
}